<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
</head>

<body>
    <h1>这里是首页</h1>

    <!--    <a th:href="@{/test1(username='admin', password=123456)}" target="_blank" rel="noreferrer" title="我的页面">测试RequestMapping的method属性->以get方式请求</a>-->
    <!--    <form th:action="@{/test1}" method="post">-->
    <!--        <input type="submit" value="测试RequestMapping的method属性->以post方式请求">-->
    <!--    </form>-->

    <!--    <a th:href="@{/testpath/admin/123456/111}" >测试路径中的占位符->restful方式</a>-->

    <form method="post" th:action="@{/testparam}">
        用户名: <input name="username" type="text"> <br>
        密码: <input name="password" type="password"> <br>
        <input type="submit" value="提交">
    </form>
</body>
</html>